package ${package}.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import ${package}.service.I${className}Service;
import ${package}.service.po.${className}PO;
import ${package}.entity.${className}Query;
import ${package}.vo.${className}VO;
import ${package}.mapper.${className}Mapper;
import org.springframework.stereotype.Service;

/**
 * ${className}服务实现类
 *
 * @author ${author}
 * @date ${date}
 */
@Service
public class ${className}ServiceImpl extends ServiceImpl<${className}Mapper,${className}PO> implements I${className}Service{

    @Override
    public IPage<${className}VO> queryPage(${className}Query query) {
       IPage<${className}VO> page = new Page<>(query.getCurrent(),query.getSize());
       return this.baseMapper.queryPage(page, query);
    }
}